﻿using CompiledBindingSample.Views;
using Windows.UI.Xaml.Controls;

// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409

namespace CompiledBindingSample
{
    /// <summary>
    /// An empty page that can be used on its own or navigated to within a Frame.
    /// </summary>
    public sealed partial class MainPage : Page
    {
        public MainPage()
        {
            this.InitializeComponent();
        }

        public void OnUseResources()
        {
            Frame.Navigate(typeof(BooksListPage));
        }

        public void OnLifetime()
        {
            Frame.Navigate(typeof(LifetimeSample));
        }

    }
}
